package server;

public class Card {

	public int value;
	public int suit;

	Card(int value, int suit) {
		this.value = value;
		this.suit = suit;
	}
	
	public int getValue() {
		return value;
	}
	
	public int getSuit() {
		return suit;
	}

	public String toString() {
		String[] suits = { "c", "d", "h", "s" };
		String[] values = { "A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K" };
		return "(" + values[value] + "" + suits[suit] + ")";
	}
}
